package com.hz.interfaces.user.inf;

import java.util.List;

import com.hz.base.beans.vo.CommonResult;
import com.hz.base.beans.vo.PageEntity;
import com.hz.base.beans.vo.QueryParams;
import com.hz.beans.user.entity.BaseIdentity;

/**
 * IBaseIdentityService
 * @author liul
 * @since [0.0.1]
 * @version [0.0.1,2018年07月27日]
 */
public interface IBaseIdentityInterface {

	CommonResult<BaseIdentity> addBaseIdentity(BaseIdentity baseIdentity);

	CommonResult<List<BaseIdentity>> queryBaseIdentityList(QueryParams<BaseIdentity> queryParams);

	CommonResult<BaseIdentity> queryBaseIdentity(Long id);

	CommonResult<BaseIdentity> updateBaseIdentity(BaseIdentity baseIdentity);

	CommonResult<Object> deleteBaseIdentityArray(Long[] ids);

	CommonResult<PageEntity> queryForPage(QueryParams<BaseIdentity> queryParams);
	
	CommonResult<BaseIdentity> insertSelective(BaseIdentity baseIdentity);
	
	CommonResult<Object> deleteByList(List<BaseIdentity> baseIdentityList);
	
	CommonResult<List<BaseIdentity>> batchUpdate(List<BaseIdentity> baseIdentityList);
	
	CommonResult<List<BaseIdentity>> batchSave(List<BaseIdentity> baseIdentityList);
	
}
